package beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * ClassName: test.ResponseData
 * Package: PACKAGE_NAME
 * Description:
 *
 * @Author 刘英杰
 * @Create 2024/8/21 17:04
 * @Version 1.0
 */


/*统一数据响应格式*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseData<T> {
    /*为了实现数据的通用性,这里使用泛型来接收任意引用类型*/
    private T data;
    private Integer code;
    private String msg;

}
